//
//  KNTakePhoto.h
//  KnysSm
//
//  Created by ii on 16/9/8.
//  Copyright © 2016年 cnknys. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <AVFoundation/AVCaptureDevice.h>
#import <AVFoundation/AVMediaFormat.h>
#import <AssetsLibrary/AssetsLibrary.h>

#define SCREEN_WIDTH [[UIScreen mainScreen] bounds].size.width
#define SCREEN_HEIGHT [[UIScreen mainScreen] bounds].size.height

//使用block 返回值
typedef void (^sendPictureBlock)(UIImage *image);

@interface KNTakePhoto : NSObject <UINavigationControllerDelegate, UIImagePickerControllerDelegate>

@property (nonatomic, copy) sendPictureBlock sPictureBlock;

+ (KNTakePhoto *)sharedModel;

+ (void)shareViewController:(UIViewController *)controller Picture:(sendPictureBlock)block;

@end
